﻿using System.Collections;
using System.Collections.ObjectModel;
using ParaEditor.Domain.Entities;

namespace ParaEditor.DAO.ParaDAO
{
    public class Para4001DAO:BaseDAO
    {
        private static Para4001 p4001 = new Para4001();
        public Para4001DAO()
            : base(p4001)
        {
        }

        public ObservableCollection<Para4001> GetObjectByInfoVer(int infoVer)
        {
            ObservableCollection<Para4001> list = new ObservableCollection<Para4001>();
            IList iList = base.GetObjectByInfoVer(infoVer);
            foreach (Para4001 item in iList)
            {
                list.Add(item);
            }
            return list;
        }
    }
}
